home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 050a / romancvt.zip / TAILOR.H < prev   
C/C++ Source or Header  |  1993-04-14  |  2KB  |  75 lines

  1. /* tailor.h
  2.  
  3. Abbreviated version of tailor.h, not copyrighted 1992 by Mark Adler,
  4. which is part of the Info-Zip distribution.
  5.  
  6. Provides the macro OF which is used to remove arguments in function
  7. prototypes for non-ANSI C. 
  8.  
  9. */
  10.  
  11. /* Define MSDOS for Turbo C as well as Microsoft C */
  12. #ifdef __POWERC                 /* For Power C too */
  13. #  define __TURBOC__
  14. #endif /* __POWERC */
  15. #if (defined(__TURBOC__) && !defined(MSDOS))
  16. #  define MSDOS
  17. #endif
  18.  
  19. #ifdef ATARI_ST
  20. #  undef MSDOS   /* avoid the MS-DOS specific includes */
  21. #endif
  22.  
  23. /* Use prototypes and ANSI libraries if _STDC__, or Microsoft or Borland C,
  24.  * or Silicon Graphics, or IBM C Set/2, or GNU gcc under emx.
  25.  */
  26. #if (defined(__STDC__) || defined(MSDOS) || defined(sgi))
  27. #  ifndef PROTO
  28. #    define PROTO
  29. #  endif /* !PROTO */
  30. #  define MODERN
  31. #endif /* MSDOS */
  32.  
  33. #if (defined(__IBMC__) || defined(__EMX__) || defined(ATARI_ST))
  34. #  ifndef PROTO
  35. #    define PROTO
  36. #  endif /* !PROTO */
  37. #  define MODERN
  38. #endif
  39.  
  40.  
  41. #ifdef __IBMC__
  42. #  define S_IFMT 0xF000
  43. #endif /* __IBMC__ */
  44.  
  45. #ifdef __EMX__
  46. #  define __32BIT__
  47. #endif /* __EMX__ */
  48.  
  49. #ifdef __WATCOMC__
  50. #  define __32BIT__
  51. #endif
  52.  
  53. #if (defined(__OS2__) && !defined(OS2))
  54. #  define OS2
  55. #endif
  56.  
  57. #ifdef __convexc__
  58. #    define CONVEX
  59. #endif /* __convexc__ */
  60.  
  61. /* Turn off prototypes if requested */
  62. #if (defined(NOPROTO) && defined(PROTO))
  63. #  undef PROTO
  64. #endif
  65.  
  66.  
  67. /* Used to remove arguments in function prototypes for non-ANSI C */
  68. #ifdef PROTO
  69. #  define OF(a) a
  70. #else /* !PROTO */
  71. #  define OF(a) ()
  72. #endif /* ?PROTO */
  73.  
  74.  
  75.